package com.deyuanyun.pic.pipe.service.impl;

import com.deyuanyun.pic.pipe.controller.dto.BowQuery;
import com.deyuanyun.pic.pipe.domain.Celbow;
import com.deyuanyun.pic.pipe.domain.Elbow;
import com.deyuanyun.pic.pipe.domain.bo.BowMergeBO;
import com.deyuanyun.pic.pipe.mapper.dao.BowDao;
import com.deyuanyun.pic.pipe.service.BowService;
import com.github.pagehelper.Page;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class BowServiceImpl implements BowService {

	@Resource
	private BowDao bowDao;

	@Override
	public Page<BowMergeBO> queryBow(BowQuery bowQuery) {
		return bowDao.queryBow(bowQuery);
	}

	@Override
	public Page<Elbow> queryElbow(BowQuery bowQuery) {
		return bowDao.queryElbow(bowQuery);
	}

	@Override
	public Page<Celbow> queryCelbow(BowQuery bowQuery) {
		return bowDao.queryCelbow(bowQuery);
	}

	@Override
	public Elbow findElbow(String id) {
		return bowDao.findElbow(id);
	}

	@Override
	public Celbow findCelbow(String id) {
		return bowDao.findCelbow(id);
	}

}
